/*
 * @Author: CC-TSR
 * @Date: 2021-12-17 16:00:05
 * @LastEditTime: 2021-12-18 20:52:49
 * @LastEditors: xiejiancheng1999@qq.com
 * @Description: re
 * @FilePath: \人员轨迹\src\router\mainPage.js
 * 可以输入预定的版权声明、个性签名、空行等
 */
import MainPage from "../views/MainPage";
import resourceDirectory from "./resourceDirectory";
import oneMap from "./oneMap";
import serviceInfo from "./serviceInfo";
import typicalCase from "./typicalCase";
import developmentCenter from "./developmentCenter";
import appBuild from "./appBuild";
import onlineDraw from "./onlineDraw";
import systemManage from "./systemManage";
import appView from "./appViews";

let childRoutes = [];

childRoutes.push(resourceDirectory);
childRoutes.push(...oneMap);
childRoutes.push(serviceInfo);
childRoutes.push(typicalCase);
childRoutes.push(developmentCenter);
childRoutes.push(appBuild);
childRoutes.push(onlineDraw);
childRoutes.push(systemManage);
childRoutes.push(appView);

export default {
  path: "/",
  name: "MainPage",
  redirect:"/yzt",
  component: MainPage,
  children: childRoutes
};
